package org.syncsoft.overalt.domain.document.entity;

import org.syncsoft.overalt.domain.common.entity.IEntity;

public class History implements IEntity {
	private int code;
	private String version;
	private String description;
	private Document document;
	
	
	@Override
	public String toString() {
		return getVersion();
	}
	
	//	GETs AND SETs
	@Override
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Document getDocument() {
		return document;
	}
	public void setDocument(Document document) {
		this.document = document;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}

}
